home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.2 KB | 42 lines | [TEXT/GEOL] |
- Item 0183426 7-Sept-88 10:17
-
- From: HOL0074 Winsoft, Pierre Blangero
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: PerformPrinting bug
-
-
- Hi,
-
- 'Thank you' to all whos participate to the discussion about the 'Folder
- vRefNum'. Your contributions give us the necessary to make our features working
- well and make the file manager less mysterious.
-
- Here is now a bug that we discover recently in the MacApp source code.
- Version 1.1.1
- What is the problem : a boolean var parametre is never correctly assigned.
-
- object : TStdPrintHandler
- methode : TStdPrintHandler.PerformPrinting
- cencerned param : VAR proceed : BOOLEAN
-
- Inside this methode there is a procedure named : DoPrint that redeclare the
- same variable as a local param and assign this copy.
-
- This param seems to be never tested in the standard situation but be carfull
- when you call TStdPrintHandler.PerformPrinting directly, the value returned in
- the VAR param Proceed will be TRUE in all situation including when the user
- cancel the printing.
-
- Fixing this bug is simple. just remove the local declaration of the boolean
- Proceed inside DoPrint.
-
- Bye,
- Kamel
-
-
-
-
-
-